#pragma once

#include "include/types.h"
#include "include/vesa.h"

/* 
* RGBA -> Red | Green | Blue | Alpha
* 
* 00 ff ff ff -> White
* A  B  G  R
*/
#define RED   0xff     /* 00 00 00 ff */
#define GREEN 0xff00   /* 00 00 ff 00 */
#define BLUE  0xff0000 /* 00 ff 00 00 */


void draw_char_en(int o_x, int o_y, int index, int color, uint64_t fbbase, struct mode_info* minfo);
void draw_char_zh(int o_x, int o_y, int index, int color, uint64_t fbbase, struct mode_info* minfo);
void draw_rect(int o_x, int o_y, int l, int w, int color, uint64_t fbbase, struct mode_info* minfo);